﻿using System;
using System.Collections.Generic;
using System.Drawing;

namespace THO7AlgoritmTimerApplication
{
    class Median3x3Pascal : VisionAlgorithm
    {
        public Median3x3Pascal(String name) : base(name) { }


        public override System.Drawing.Bitmap DoAlgorithm(System.Drawing.Bitmap sourceImage)
        {
            Bitmap returnImage = new Bitmap(sourceImage);
            returnImage = Filters.MedianFilter(returnImage, 3);
            return returnImage;
        }
    }
}